﻿///////////////////////////////////////////////////////////////////////
// Name: DataItems.cs
// Author: B. Gian James <gian@BattleDroids.net>
// Description: Items that will be used as DataSource'es for form
//              components.
//
// $Id: DataItems.cs,v 1.1.1.1 2009/08/23 11:09:37 gian Exp $
///////////////////////////////////////////////////////////////////////
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO.Ports;

namespace AVR_Terminal
{
    public class BaudRate
    {
        int baud;
        string name;

        public BaudRate(int b, string n)
        {
            baud = b; name = n;
        }

        public int Baud { get { return baud; } set { baud = value; } }
        public string Name { get { return name; } set { name = value; } }
    }

    public class Handshake
    {
        System.IO.Ports.Handshake handshake;
        string name;

        public Handshake(System.IO.Ports.Handshake h, string n)
        {
            handshake = h; name = n;
        }

        public System.IO.Ports.Handshake FlowControl { get { return handshake; } set { handshake = value; } }
        public string Name { get { return name; } set { name = value; } }
    }

 
}
